<template>
  <div class="head">
    <div class="first"></div>
    <div class="secend">
      <el-page-header @back="goBack" :content="master"> </el-page-header>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  },
  props: ["master", "address"],
  methods: {
    goBack() {
      // var that = this;
      // this.$router.go(-1);
      this.$router.replace(this.address);
    },
  },
};
</script>
<style scoped>
.head {
  height: 7%;
  width: 100%;
  background-color: white;
}
.first {
  height: 20%;
}
.secend {
  height: 80%;
  width: 95%;
  position: relative;
  left: 5%;
}
.el-page-header__title {
  text-align: center;
}
</style>
